Skip to content

Fix batch submission#53

Merged
KatieWright26 merged 6 commits intobuildkite:mainfrom
jmsanders:jordan/fixup-batch-submission
May 6, 2025
Merged

Fix batch submission#53
KatieWright26 merged 6 commits intobuildkite:mainfrom
jmsanders:jordan/fixup-batch-submission

Conversation

@jmsanders
Copy link
Contributor

This was returning early meaning only the first batch was being submitted. This caused truncation in test collection for large test suites.

This was returning early meaning only the first batch was being
submitted. This caused truncation in test collection for large test
suites.
jmsanders added 3 commits May 2, 2025 13:53
Another small thing we noticed - even with the yield logic, it would
have short circuited on the first exception. Now, it continues looping
over the whole bach even if one of the requests hits an exception.
@wooly
Copy link

wooly commented May 5, 2025

Thanks for submitting the PR, @jmsanders!

We'll review internally and get back to you if there is any feedback.

Cheers!

Copy link
Contributor

@nprizal nprizal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmsanders Thanks for opening the PR. The changes look good to me. Good idea on using the generator. Can you add a test to ensure that when one upload batch fails, it doesn't affect the other batches? Also, there is pylint error.

@jmsanders
Copy link
Contributor Author

Sounds good - added.

@KatieWright26 KatieWright26 merged commit 88e76a7 into buildkite:main May 6, 2025
11 checks passed
@KatieWright26 KatieWright26 mentioned this pull request May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants